home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Toolbox
/
Visual Basic Toolbox (P.I.E.)(1996).ISO
/
boxes
/
vbabout
/
frmabout.frm
next >
Wrap
Text File
|
1995-12-28
|
4KB
|
132 lines
VERSION 4.00
Begin VB.Form frmAbout
BorderStyle = 3 'Fixed Dialog
Caption = "About..."
ClientHeight = 2670
ClientLeft = 3690
ClientTop = 2160
ClientWidth = 3750
Height = 3075
Left = 3630
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 2670
ScaleWidth = 3750
ShowInTaskbar = 0 'False
Top = 1815
Width = 3870
Begin VB.CommandButton cmdOK
Caption = "OK"
Default = -1 'True
Height = 315
Left = 2760
TabIndex = 0
Top = 2220
Width = 855
End
Begin VB.Label Label6
Alignment = 2 'Center
Caption = "Trademark"
Height = 195
Left = 120
TabIndex = 6
Top = 1920
Width = 3495
End
Begin VB.Label Label5
Alignment = 2 'Center
Caption = "Copyright"
Height = 195
Left = 120
TabIndex = 5
Top = 1680
Width = 3495
End
Begin VB.Label Label4
Alignment = 2 'Center
Caption = "CompanyName"
BeginProperty Font
name = "MS Sans Serif"
charset = 0
weight = 700
size = 9.75
underline = 0 'False
italic = 0 'False
strikethrough = 0 'False
EndProperty
Height = 255
Left = 240
TabIndex = 4
Top = 1320
Width = 3255
End
Begin VB.Label Label3
Alignment = 2 'Center
Caption = "FileDescription"
Height = 435
Left = 240
TabIndex = 3
Top = 780
Width = 3255
End
Begin VB.Label Label2
Caption = "App.Major && App.Minor"
Height = 195
Left = 960
TabIndex = 2
Top = 420
Width = 2655
End
Begin VB.Label Label1
Caption = "ProductName"
BeginProperty Font
name = "MS Sans Serif"
charset = 0
weight = 400
size = 13.5
underline = 0 'False
italic = 0 'False
strikethrough = 0 'False
EndProperty
Height = 375
Left = 960
TabIndex = 1
Top = 60
Width = 2655
End
Begin VB.Image imgAppIcon
Height = 555
Left = 60
Top = 60
Width = 615
End
End
Attribute VB_Name = "frmAbout"
Attribute VB_Creatable = False
Attribute VB_Exposed = False
Private Sub cmdOK_Click()
Unload Me
End Sub
Private Sub Form_Load()
'this is the only line you need to change
imgAppIcon.Picture = frmMain.Icon
'
Label1.Caption = App.ProductName
Label2.Caption = "Version " & App.Major & "." & App.Minor
Label3.Caption = App.FileDescription
Label4.Caption = App.CompanyName
Label5.Caption = App.LegalCopyright
Label6.Caption = App.LegalTrademarks
''also available: App.Comments, App.Revision, App.Title
End Sub